package com.pipe.servicebase.exception;

import lombok.Data;

/**
 * @ClassName PipeException
 * @Author HETAO
 * @Date 2020/7/16 19:13
 */
@Data
public class PipeException extends RuntimeException{
    private int code;
    private String msg;

    public PipeException(int code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }
}
